<?php
include('class/class_connect.php');
include('class/class_page.php');
include('class/class_acts.php');
include('class/city_rus.php');
include('class/class_checkGetData.php');


$aCheck=new checkGetData('f');
$aCheck->checkCity($_GET['city']);


session_start();

class aFirmPage extends page
{
	var $cityRus;
	function __construct()
	{
		$this->cityRus=new city_rus_class();
		parent::__construct();
	}
	function title()
	{
		echo 'События '.$this->cityRus->city_rus_im($_GET['city']);
	}
	function maincontent()
	{
		echo ('
		<div class="route">
			<div class="routeEl">
				<a href="index.php?city='.$_GET['city'].'">'.$this->cityRus->city_rus_im($_GET['city']).'</a>
			</div>
			<div class="routeEl">
				События
			</div>
		</div>
		');
		echo '<center><h1>Ближайшие события</h1></center>';
		$act=new acts();
		$act->showAllActs(100, 300);
        //$aPaginator=new newsPaginator();
	}
}
$aPage=new aFirmPage();

?>